package com.zzx.entity;

public class Goods {
	private Integer pid;
	private String name;
	private String comments;
	private Double oldprice;
	private Double newprice;
	private String imgpath;
	private Integer status;
	private Integer kid;

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Double getOldprice() {
		return oldprice;
	}

	public void setOldprice(Double oldprice) {
		this.oldprice = oldprice;
	}

	public Double getNewprice() {
		return newprice;
	}

	public void setNewprice(Double newprice) {
		this.newprice = newprice;
	}

	public String getImgpath() {
		return imgpath;
	}

	public void setImgpath(String imgpath) {
		this.imgpath = imgpath;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getKid() {
		return kid;
	}

	public void setKid(Integer kid) {
		this.kid = kid;
	}

	public Goods(Integer pid, String name, String comments, Double oldprice, Double newprice, String imgpath,
			Integer status, Integer kid) {
		super();
		this.pid = pid;
		this.name = name;
		this.comments = comments;
		this.oldprice = oldprice;
		this.newprice = newprice;
		this.imgpath = imgpath;
		this.status = status;
		this.kid = kid;
	}

	public Goods() {
		super();
	}

	@Override
	public String toString() {
		return "Goods [pid=" + pid + ", name=" + name + ", comments=" + comments + ", oldprice=" + oldprice
				+ ", newprice=" + newprice + ", imgpath=" + imgpath + ", status=" + status + ", kid=" + kid + "]";
	}

}
